<template>
    <van-nav-bar
  title="作业"
  left-text="返回"
  left-arrow
  @click-left="onClickLeft"
/>
<MyLoading v-if="loadingTag" />

<van-cell-group>
  <van-cell title="单元格" value="内容" label="描述信息" />
</van-cell-group>
    </template>
    
<script setup lang='ts'>
 import {ref,onUnmounted,onMounted } from 'vue'

 import $bus from "../config/eventBus";
 import MyLoading from "../components/MyLoading.vue";
//  刷新
 let loadingTag = ref<boolean>(true);



//  返回上一页
    const onClickLeft = () => history.back();
    //登陆页不要tabBar
onMounted(() => {
    $bus.emit("tabBarHide", false);
})

//页面离开记得销毁
onUnmounted(() => {
    $bus.emit("tabBarHide", true);
})
    </script>
    
    <style scoped lang='scss'>
    
    </style>